package com.weather.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.weather.vo.City;

/**
 * @Description 伪城市客户端
 *
 * @author 堆堆堆
 * @date 2018年6月7日 下午5:27:16
 */
@FeignClient("weather-city-eureka")
public interface CityClient {

	@GetMapping("/cities")
	List<City> listCity() throws Exception;
}
